{extend name="bet/ssc/base" /}
{block name="checks"}
    {include file="bet/ssc/game_1"}
{/block}

{block name="tip"}从万千百十个位各选1个号码组成一注。{/block}
{block name="example"}选号：88693，开奖号：88693。{/block}
{block name="note"}所选号与开奖号相同，且顺序一致，即为中奖{/block}

{block name="balls"}
<div style="display: block;" class="Ball">
    <!---复式玩法选号--->
    <div class="fs bounceInRight animated" style="">
        <div class="number-select-content">
            <ul class="ball-section ">
                <li id="form-choose-1" style="display: block">
                    <div class="ball-title" data-digit="0"><strong id="chooseWan">万位</strong></div>
                    <ul class="ball-content">
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_0" onClick="anniu_xz_qx(this)"
                               class="ball-number">0</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_1" onClick="anniu_xz_qx(this)"
                               class="ball-number">1</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_2" onClick="anniu_xz_qx(this)"
                               class="ball-number">2</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_3" onClick="anniu_xz_qx(this)"
                               class="ball-number">3</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_4" onClick="anniu_xz_qx(this)"
                               class="ball-number">4</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_5" onClick="anniu_xz_qx(this)"
                               class="ball-number">5</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_6" onClick="anniu_xz_qx(this)"
                               class="ball-number">6</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_7" onClick="anniu_xz_qx(this)"
                               class="ball-number">7</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_8" onClick="anniu_xz_qx(this)"
                               class="ball-number">8</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_1_9" onClick="anniu_xz_qx(this)"
                               class="ball-number">9</a></li>
                    </ul>
                    <div class="ball-control">
                        <a data-param="#=all" style="cursor: pointer" onClick="anniu_quan(1,1,this)"
                           class="sx_qszxfs_1" id="sx_qszxfs_1_quan">全</a>
                        <a style="cursor: pointer" onClick="anniu_quan(1,2,this)" id="sx_qszxfs_1_da"
                           class="sx_qszxfs_1">大</a>
                        <a style="cursor: pointer" onClick="anniu_quan(1,3,this)" id="sx_qszxfs_1_xiao"
                           class="sx_qszxfs_1">小</a>
                        <a style="cursor: pointer" onClick="anniu_quan(1,4,this)" id="sx_qszxfs_1_ji"
                           class="sx_qszxfs_1">奇</a>
                        <a style="cursor: pointer" onClick="anniu_quan(1,5,this)" id="sx_qszxfs_1_ou"
                           class="sx_qszxfs_1">偶</a>
                        <a style="cursor: pointer" onClick="anniu_quan(1,6,this)" id="sx_qszxfs_1_qing"
                           class="sx_qszxfs_1">清</a>
                    </div>

                </li>
                <li id="form-choose-1" style="display: block">
                    <div class="ball-title" data-digit="1"><strong id="chooseQian">千位</strong></div>
                    <ul class="ball-content">
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_0" onClick="anniu_xz_qx(this)"
                               class="ball-number">0</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_1" onClick="anniu_xz_qx(this)"
                               class="ball-number">1</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_2" onClick="anniu_xz_qx(this)"
                               class="ball-number">2</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_3" onClick="anniu_xz_qx(this)"
                               class="ball-number">3</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_4" onClick="anniu_xz_qx(this)"
                               class="ball-number">4</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_5" onClick="anniu_xz_qx(this)"
                               class="ball-number">5</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_6" onClick="anniu_xz_qx(this)"
                               class="ball-number">6</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_7" onClick="anniu_xz_qx(this)"
                               class="ball-number">7</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_8" onClick="anniu_xz_qx(this)"
                               class="ball-number">8</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_2_9" onClick="anniu_xz_qx(this)"
                               class="ball-number">9</a></li>
                    </ul>
                    <div class="ball-control">
                        <a data-param="#=all" style="cursor: pointer" onClick="anniu_quan(2,1,this)"
                           class="sx_qszxfs_1" id="sx_qszxfs_2_quan">全</a>
                        <a style="cursor: pointer" onClick="anniu_quan(2,2,this)" id="sx_qszxfs_2_da"
                           class="sx_qszxfs_1">大</a>
                        <a style="cursor: pointer" onClick="anniu_quan(2,3,this)" id="sx_qszxfs_2_xiao"
                           class="sx_qszxfs_1">小</a>
                        <a style="cursor: pointer" onClick="anniu_quan(2,4,this)" id="sx_qszxfs_2_ji"
                           class="sx_qszxfs_1">奇</a>
                        <a style="cursor: pointer" onClick="anniu_quan(2,5,this)" id="sx_qszxfs_2_ou"
                           class="sx_qszxfs_1">偶</a>
                        <a style="cursor: pointer" onClick="anniu_quan(2,6,this)" id="sx_qszxfs_2_qing"
                           class="sx_qszxfs_1">清</a>
                    </div>

                </li>
                <li id="form-choose-1" style="display: block">
                    <div class="ball-title" data-digit="2"><strong id="chooseBai">百位</strong></div>
                    <ul class="ball-content">
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_0" onClick="anniu_xz_qx(this)"
                               class="ball-number">0</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_1" onClick="anniu_xz_qx(this)"
                               class="ball-number">1</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_2" onClick="anniu_xz_qx(this)"
                               class="ball-number">2</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_3" onClick="anniu_xz_qx(this)"
                               class="ball-number">3</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_4" onClick="anniu_xz_qx(this)"
                               class="ball-number">4</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_5" onClick="anniu_xz_qx(this)"
                               class="ball-number">5</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_6" onClick="anniu_xz_qx(this)"
                               class="ball-number">6</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_7" onClick="anniu_xz_qx(this)"
                               class="ball-number">7</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_8" onClick="anniu_xz_qx(this)"
                               class="ball-number">8</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_3_9" onClick="anniu_xz_qx(this)"
                               class="ball-number">9</a></li>
                    </ul>
                    <div class="ball-control">
                        <a data-param="#=all" style="cursor: pointer" onClick="anniu_quan(3,1,this)"
                           class="sx_qszxfs_1" id="sx_qszxfs_3_quan">全</a>
                        <a style="cursor: pointer" onClick="anniu_quan(3,2,this)" id="sx_qszxfs_3_da"
                           class="sx_qszxfs_1">大</a>
                        <a style="cursor: pointer" onClick="anniu_quan(3,3,this)" id="sx_qszxfs_3_xiao"
                           class="sx_qszxfs_1">小</a>
                        <a style="cursor: pointer" onClick="anniu_quan(3,4,this)" id="sx_qszxfs_3_ji"
                           class="sx_qszxfs_1">奇</a>
                        <a style="cursor: pointer" onClick="anniu_quan(3,5,this)" id="sx_qszxfs_3_ou"
                           class="sx_qszxfs_1">偶</a>
                        <a style="cursor: pointer" onClick="anniu_quan(3,6,this)" id="sx_qszxfs_3_qing"
                           class="sx_qszxfs_1">清</a>
                    </div>
                </li>
                <li id="form-choose-1" style="display: block">
                    <div class="ball-title" data-digit="3"><strong id="chooseBai">十位</strong></div>
                    <ul class="ball-content">
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_0" onClick="anniu_xz_qx(this)"
                               class="ball-number">0</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_1" onClick="anniu_xz_qx(this)"
                               class="ball-number">1</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_2" onClick="anniu_xz_qx(this)"
                               class="ball-number">2</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_3" onClick="anniu_xz_qx(this)"
                               class="ball-number">3</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_4" onClick="anniu_xz_qx(this)"
                               class="ball-number">4</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_5" onClick="anniu_xz_qx(this)"
                               class="ball-number">5</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_6" onClick="anniu_xz_qx(this)"
                               class="ball-number">6</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_7" onClick="anniu_xz_qx(this)"
                               class="ball-number">7</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_8" onClick="anniu_xz_qx(this)"
                               class="ball-number">8</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_4_9" onClick="anniu_xz_qx(this)"
                               class="ball-number">9</a></li>
                    </ul>
                    <div class="ball-control">
                        <a data-param="#=all" style="cursor: pointer" onClick="anniu_quan(4,1,this)"
                           class="sx_qszxfs_1" id="sx_qszxfs_4_quan">全</a>
                        <a style="cursor: pointer" onClick="anniu_quan(4,2,this)" id="sx_qszxfs_4_da"
                           class="sx_qszxfs_1">大</a>
                        <a style="cursor: pointer" onClick="anniu_quan(4,3,this)" id="sx_qszxfs_4_xiao"
                           class="sx_qszxfs_1">小</a>
                        <a style="cursor: pointer" onClick="anniu_quan(4,4,this)" id="sx_qszxfs_4_ji"
                           class="sx_qszxfs_1">奇</a>
                        <a style="cursor: pointer" onClick="anniu_quan(4,5,this)" id="sx_qszxfs_4_ou"
                           class="sx_qszxfs_1">偶</a>
                        <a style="cursor: pointer" onClick="anniu_quan(4,6,this)" id="sx_qszxfs_4_qing"
                           class="sx_qszxfs_1">清</a>
                    </div>
                </li>
                <li id="form-choose-1" style="display: block">
                    <div class="ball-title" data-digit="4"><strong id="chooseBai">个位</strong></div>
                    <ul class="ball-content">
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_0" onClick="anniu_xz_qx(this)"
                               class="ball-number">0</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_1" onClick="anniu_xz_qx(this)"
                               class="ball-number">1</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_2" onClick="anniu_xz_qx(this)"
                               class="ball-number">2</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_3" onClick="anniu_xz_qx(this)"
                               class="ball-number">3</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_4" onClick="anniu_xz_qx(this)"
                               class="ball-number">4</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_5" onClick="anniu_xz_qx(this)"
                               class="ball-number">5</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_6" onClick="anniu_xz_qx(this)"
                               class="ball-number">6</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_7" onClick="anniu_xz_qx(this)"
                               class="ball-number">7</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_8" onClick="anniu_xz_qx(this)"
                               class="ball-number">8</a></li>
                        <li><a style="cursor: pointer" id="sx_qszxfs_5_9" onClick="anniu_xz_qx(this)"
                               class="ball-number">9</a></li>
                    </ul>
                    <div class="ball-control">
                        <a data-param="#=all" style="cursor: pointer" onClick="anniu_quan(5,1,this)"
                           class="sx_qszxfs_1" id="sx_qszxfs_5_quan">全</a>
                        <a style="cursor: pointer" onClick="anniu_quan(5,2,this)" id="sx_qszxfs_5_da"
                           class="sx_qszxfs_1">大</a>
                        <a style="cursor: pointer" onClick="anniu_quan(5,3,this)" id="sx_qszxfs_5_xiao"
                           class="sx_qszxfs_1">小</a>
                        <a style="cursor: pointer" onClick="anniu_quan(5,4,this)" id="sx_qszxfs_5_ji"
                           class="sx_qszxfs_1">奇</a>
                        <a style="cursor: pointer" onClick="anniu_quan(5,5,this)" id="sx_qszxfs_5_ou"
                           class="sx_qszxfs_1">偶</a>
                        <a style="cursor: pointer" onClick="anniu_quan(5,6,this)" id="sx_qszxfs_5_qing"
                           class="sx_qszxfs_1">清</a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    function random_1() {
        for (var i = 1; i <= 5; i++) {
            var aaa = Math.ceil(Math.random() * 9);
            anniu_xz_qx(document.getElementById("sx_qszxfs_" + i + "_" + aaa));
        }
        game_xuanzhong();
    }
    function random_five_1() {
        random_1();
        random_1();
        random_1();
        random_1();
        random_1();
    }
</script>
<!--单式 手动输号-->
<script>

    var phone = /^\d{5}$/;
    $("#input").keyup(function (enent) {
        var val = $(this).val()
        // if(event.keyCode&&val.length==6&&val.match(phone)){
        //      $('#div').html(1)
        // }
        if (event.keyCode == '32' || event.keyCode == '8') {

            var arr = val.split(' ')

            for (var i = 0; i < arr.length; i++) {
                for (var j = i + 1; j < arr.length; j++) {
                    if (arr[i] == arr[j]) {
                        arr.splice(j, 1)
                        j--
                    }
                }

            }
            var new_arr = []
            for (var m = 0; m < arr.length; m++) {
                if (arr[m].match(phone)) {
                    new_arr.push(arr[i])
                }
            }
//         $('#sm_stakes').html(new_arr.length);
            $('#sm_stakes').html(new_arr.length);
            var sm_stakes = $('#sm_stakes').html();
            var multiple = $('#multiple').val();
            var sm_money1 = sm_stakes * multiple;
            var sm_money = $('#sm_money').html(sm_money1);

        }
    })
</script>
{/block}